package com.swg.myspring.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BeanDefinition2 {
    private String id;//bean的id
    private String className;//bean的类
    private List<PropertyDefinition> propertyDefinitions=new ArrayList<PropertyDefinition>();//bean对象的属性
    public BeanDefinition2(String id, String className) {
         this.id = id;
         this.className = className;
    }
}
